package DBLayer;

import java.util.ArrayList;
import ModelLayer.*;

public interface SaleDBIF {
	
	 // get all sales
    public ArrayList<Sale> getAllSales(boolean retrieveAssociation);
    //get one Sale having the SaleID
    public Sale findSale(int saleID, boolean retrieveAssociation);
    //create a sale
    public int createSale(Sale s) throws Exception;
    //update information about a clothing  
    public int updateSale(Sale s);
    //delete a sale
    public int deleteSale(int saleID);
}
